package com.binarysnobbery.ymmv.client;

import java.util.Date;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("mileage")
public interface TrackerService extends RemoteService {
	public void addMileageEntry(Date date, double gallons, double miles) throws NotLoggedInException;
	// public void modifyMileageEntry(MileageEntry entry) throws NotLoggedInException;
	public MileageEntry[] getEntries() throws NotLoggedInException;
	
}
